<!DOCTYPE html>
<html>
<head>
    <title>会员统计信息</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
			<#if shiro.hasPermission("member:memberstatisticsinfo:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
			</#if>
			<#if shiro.hasPermission("member:memberstatisticsinfo:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("member:memberstatisticsinfo:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">会员id</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.memberId" placeholder="会员id"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">累计消费金额</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.consumeAmount" placeholder="累计消费金额"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">累计优惠金额</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.couponAmount" placeholder="累计优惠金额"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">订单数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.orderCount" placeholder="订单数量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">优惠券数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.couponCount" placeholder="优惠券数量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">评价数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.commentCount" placeholder="评价数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">退货数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.returnOrderCount" placeholder="退货数量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">登录次数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.loginCount" placeholder="登录次数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">关注数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.attendCount" placeholder="关注数量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">粉丝数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.fansCount" placeholder="粉丝数量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收藏的商品数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.collectProductCount" placeholder="收藏的商品数量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收藏的专题活动数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.collectSubjectCount" placeholder="收藏的专题活动数量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收藏的评论数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.collectCommentCount" placeholder="收藏的评论数量"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">邀请的朋友数量</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="memberStatisticsInfo.inviteFriendCount" placeholder="邀请的朋友数量"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" id="btnSaveOrUpdate" data-loading-text="保存中..." @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/member/memberstatisticsinfo.js?_${.now?long}"></script>
</body>
</html>